<?php
/**
 * Created by PhpStorm.
 * User: tom_xia
 * Date: 2018/5/31
 * Time: 11:26
 * 用户视频列表
 */
require_once dirname(__DIR__) . "/common.php";

use app\cls\tom\Response;

if(empty($_GET["user_uuid"])){
    Response::output(-1,"参数错误");
}
$page = isset($_GET["page"]) ? intval($_GET["page"]) : 1;
$page = $page > 0 ? $page : 1;
$pageSize = 10;
$userUUID = $_GET["user_uuid"];
$materialService = new \app\service\Material();
$response = $materialService->userVideoList($userUUID,$page,$pageSize);
Response::outputSelf($response);